home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 March
/
EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso
/
earcd
/
-archivi
/
-recent2
/
fibonacci.readme
< prev
next >
Wrap
Text File
|
1999-01-01
|
925b
|
19 lines
Short: A simple CLI program to calculate Fibonacci's numbers, v1.1
Author: palaste@cc.helsinki.fi (Joona Palaste)
Uploader: palaste@cc.helsinki.fi (Joona Palaste)
Type: misc/math
Replaces: misc/math/Fibonacci*
This simple program calculates Fibonacci's numbers. The numbers were invented
by the Italian mathematician Leonardo Fibonacci in the 13th century. The formula
is:
f(0)=1, f(1)=1, f(n+2)=f(n)+f(n+1), where n is a non-negative integer.
This program was written in C by me, Joona Palaste. It is Copyrighted by me, but
is freely distributable.
The program calculates any Fibonacci's number that can fit into your memory. If
you have many megabytes, you can calculate even the 20-millionth number,
providing you have the time. =) The result can be written either into StdOut or
into a file on disk.
This is version 1.1. Version 1.0 displayed large Fibonacci's numbers too
short. This has now been fixed.